package edu.suda.scratcher.ippgserver.beans;

import java.sql.Timestamp;

public class Record {
    private int rid;
    private String username;
    private double hr;
    private double spo;
    private Timestamp rtime;
    
    public int getRid() {
        return rid;
    }
    
    public void setRid(int rid) {
        this.rid = rid;
    }
    
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public double getHr() {
        return hr;
    }
    
    public void setHr(double hr) {
        this.hr = hr;
    }
    
    public double getSpo() {
        return spo;
    }
    
    public void setSpo(double spo) {
        this.spo = spo;
    }

    public Timestamp getRtime() {
        return rtime;
    }

    public void setRtime(Timestamp rtime) {
        this.rtime = rtime;
    }

    @Override
    public String toString() {
        return rid + "," + hr + "," + spo + "," + username + "," + rtime;
    }
    
}
